package com.yijia.fenxi.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO
 *
 * @author Hlong
 * @version V1.0
 * @data 2020-8-26
 */
@RestController
@RequestMapping("/cloud")
public class MyCloudController {


    @GetMapping(value = "add")
    public String service(String userId){
        System.out.println("服务端接受请求");
        return userId+":微服务调用成功";
    }

}
